package com.lzhsite.technology.designPattern.mediator.ComputerDemo;

public class CDDriver extends Colleague {
	
	private String data;

	protected CDDriver(Mediator mediator) {
		super(mediator);
	}

	public String getData() {
		return data;
	}

	public void readCD() {
		this.data = "Video Data, Sound Data";
		this.getMediator().changed(this);
	}
}
